package com.lysj.admin.common.print.feign;

import com.lysj.admin.common.food.domain.OrderItemVo;
import com.lysj.admin.common.print.domain.PrintOrderVo;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @ Author ：drj.
 * @ Date  ：Created in 11:03 2019/3/22
 * @ Description:
 **/

public interface PrinterServiceFeign {

    //用户下单打印
    @PostMapping("/print/management/accept_order_info")
    void acceptOrderInfo(@RequestBody PrintOrderVo printOrderVo);

    //用户退菜后厨打印
    @PostMapping("/print/management/retreat_food")
    void retreatFood(@RequestBody List<OrderItemVo> orderItemVoList);

    //用户结单前台收银打印
    @PostMapping("/print/management/close_order")
    void closeOrder(@RequestBody PrintOrderVo printOrderVo);


}
